import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:rwini_edit/impl/autorun.dart';
import 'package:rwini_edit/view/home/view.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  autoExecuteFunction();

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'RWini',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: const Color.fromARGB(255, 66, 204, 255)),
        useMaterial3: true,
        // textTheme: TextTheme(displayMedium: TextStyle(fontSize: 28)),
      ),
      home: const MyHomePage(),
    );
  }
}
